package org.jeecg.modules.procurement.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author gbstart
 * @create 2024-06-06 10:25
 */
@Data
@ApiModel(value="buss_material_applicationDetailPage对象", description="材料请购单")
public class BussMaterialApplicationDetailPage {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**材料标号*/
    @Excel(name = "材料标号", width = 15)
    @ApiModelProperty(value = "材料标号")
    private String materialCode;
    /**材料名称*/
    @Excel(name = "材料名称", width = 15)
    @ApiModelProperty(value = "材料名称")
    private String materialName;
    /**规格*/
    @Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String spec;
    /**单位*/
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;
    /**数量*/
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal num;
    /**到货日期*/
    @Excel(name = "到货日期", width = 15)
    @ApiModelProperty(value = "到货日期")
    private String arrivalDate;
    /**用途*/
    @Excel(name = "用途", width = 15)
    @ApiModelProperty(value = "用途")
    private String useDesc;
    /**申请id*/
    @ApiModelProperty(value = "申请id")
    private String applicationId;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private String applicationCode;

}
